package com.wlk.mapper;

import com.wlk.pojo.Users;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface UsersMapper {
    List<Users> selectUsers();

    Users getUserByPhoneAndPassword(@Param("phone") String phone,@Param("password") String password);
}
